package com.neo.web;

import com.neo.service.ILotteryService;
import com.neo.vo.ResultVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description:
 * @Author: xihao.ding
 * @CreateDate: 2019/1/11 23:00
 */

@RestController
public class MobilLotteryController {

    private final static Logger logger = LoggerFactory.getLogger(MobilLotteryController.class);

    @Autowired
    private ILotteryService iLotteryService;

    @RequestMapping("/lotteryData")
    public ResultVO testThymeleaf() {
        return iLotteryService.lotteryData();
    }
}
